QT += core

TEMPLATE = lib
DEFINES += JD3D_LIBRARY
DEFINES += WAVE_FORMAT_PCM _RUSSIAN
DEFINES += _CRT_SECURE_NO_WARNINGS

QMAKE_CFLAGS += -fpermissive
QMAKE_CXXFLAGS += -fpermissive


CONFIG += c++17

DESTDIR = ../LIBS

INCLUDEPATH += ../baseclasses

# Additional library paths
LIBS += -L../LIBS

# Libraries your project depends on
LIBS += -lftkvc40 -lJWTS -lstrmbase

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    APPSHOW.CPP \
    BACKGR.CPP \
    CURCAMERA.CPP \
    D3DFONT.CPP \
    D3DUTIL.CPP \
    DSHOWTEXTURES.CPP \
    FTREE.CPP \
    MCCFILE3DS.CPP

HEADERS += \
    INCLUDE/3DSFTK.H \
    INCLUDE/APPSHOW.H \
    INCLUDE/BACKGR.H \
    INCLUDE/CURCAMERA.H \
    INCLUDE/D3DFONT.H \
    INCLUDE/D3DUTIL.H \
    INCLUDE/DSHOWTEXTURES.H \
    INCLUDE/FTREE.H \
    INCLUDE/IFACECOM.H \
    INCLUDE/JD3D.HPP \
    INCLUDE/JD3D_global.h \
    INCLUDE/MCCFILE3DS.H \
    INCLUDE/RESOURCE3D.H \
    INCLUDE/TEXTURES.H \
    INCLUDE/VIRTKEYS.H \
    INCLUDE/dxutil.h


# Default rules for deployment.
unix {
    target.path = /usr/lib
}
!isEmpty(target.path): INSTALLS += target
